import http from '../index'

const api = '/provider/fiskaly/ticket'

export function get(params) {
  return http.get(api, {
    params
  })
}

export function create(id) {
  return http.post(api + '/' + id)
}